home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-0139 / news.txt / rtc.asc < prev    next >
Text File  |  1997-04-16  |  6KB  |  111 lines

  1.                          Elektor Electronics RTC
  2.                          -----------------------
  3.  
  4.                          Reviewed by Dave Price
  5.                          ----------------------
  6.  
  7.     As a keen electronics DIYer I was extremely pleased to discover that
  8. the monthly electronics magazine, Elektor Electronics, has published a few
  9. useful projects for the Atari ST one of which is a Real Time Clock (RTC)
  10. that connects to the ST printer port but still allows the printer to
  11. work.
  12.  
  13.     I should point out that this project could end up costing more than a
  14. ready made unit such as the Frontier cartridge particularly if you don't
  15. already have some of the components in your goody box. It would also be a
  16. lot cheaper if you are able to make your own PCB and wrote your own
  17. software.
  18.  
  19.     One other thing to consider is that a small modification needs to be
  20. made inside the ST which involves soldering two wires between the sound
  21. chip (YM 2149) and the centronics printer port.
  22.  
  23.     One wire is connected to pin 40 of the sound chip to provide a +5V
  24. supply to the RTC via pin 16 of the printer port. This is perfectly safe
  25. as pin 16 is the centronics RESET(low) line which is not used by the ST
  26. and since the RESET signal is active low placing +5V on the line has no
  27. effect on the printer(The ST is not capable of issuing a reset via this
  28. line anyway).
  29.  
  30.     The other wire is connected to an unused IN/OUT line found at pin 14
  31. on the sound chip and fed to pin 17 of the printer port. This line is used
  32. to direct data to the RTC or printer and is not used by either the ST or
  33. printer but is supported by XBIOS thus enabling full control of data flow
  34. by software.
  35.  
  36.      The article, consisting of three A4 pages, was published in the June
  37. 1991 issue of Elektor Electronics and included a components list, circuit
  38. diagrams, PCB track layout and other diagrams. The text explains how the
  39. circuit works, construction details and a couple of short paragraphs on
  40. the control software, I would like to have seen a bit more on the
  41. software. The article was fairly easy to follow although there was a small
  42. error in the construction details concerning the modification to the ST.
  43. Pin 14 of the sound chip should be connected to pin 17 of the printer port
  44. and NOT to pin 16 as stated in the text. Also pin 40 of the sound chip
  45. should be connected to pin 16 of the printer port and NOT to pin 17 as
  46. stated in the text. This is shown correctly in the circuit diagram but it
  47. had me fooled at first.
  48.  
  49.     The RTC is based around the Motorola MC146818 Real Time Clock chip and
  50. has a PCB mounted rechargable battery to keep the clock going when the ST
  51. is turned off. The battery is automatically charged when ever the ST is
  52. powered up.
  53.  
  54.     All the ICs used in the project are sensitive to static electricity
  55. therefore normal E.S.D. precautions as described in previous articles
  56. should be observed.
  57.  
  58.     Most of the components are readily available from suppliers such as
  59. Maplin Electronics etc. Maplin did not have the RTC chip but is available
  60. from Viewcom who are Digital Integrated Circuit specialists.
  61.  
  62.     The PCB supplied by Elektor is screen printed to allow easy component
  63. location and at a cost of £6.17 is reasonable when one considers the high
  64. quality of the board.
  65.  
  66.     The software supplied on disk by Elektor is, I feel, a bit expensive
  67. at £7.64 but does include the full C source code which enables you to
  68. customise the program. I reckon it should have been printed as a listing
  69. within the main article but maybe it would have taken up too many pages in
  70. the magazine. The supplied program is a desk accessory of about 7K in
  71. length. It automatically reads in the time/date data from the RTC and sets
  72. the system clocks. When opening the accessory from the desk top you are
  73. presented with a window containing the date and time which you are able to
  74. adjust if necessary. On pressing return or clicking the SET button both
  75. the RTC and system clocks are corrected accordingly.
  76.  
  77.     I plan to write my own Auto run program that will read the RTC and
  78. adjust the system clocks then erase it self from memory thus not using up
  79. memory or taking up an accessory slot.
  80.  
  81.     To summarize, I found great pleasure in making something useful for the
  82. ST and have gained a little more knowledge about the inner workings of my
  83. computer into the bargain. Anyone with a little practical experience of
  84. soldering components to a PCB should be able to tackle this project with
  85. out any real difficulties.
  86.  
  87.     I have had the RTC up and running for about two months or so and have
  88. not had any problems with my system at all. There may be problems with the
  89. supplied desk accessory not getting on with other accessories but I
  90. haven't come across any yet.
  91.  
  92.     If you decide to build the RTC and come across any problems please get
  93. in touch and I will try my best to help out.
  94.  
  95.  
  96.     *******************************************************
  97.     * Real Time Clock By F.Dossche                        *
  98.     * Published in June 1991 Issue of Elektor Electronics *
  99.     *                                                     *
  100.     * The following is available from Elektor             *
  101.     * Article reprints @ £1.50 inc p&p per article        *
  102.     * RTC Printed Circuit Board No. 910006  @ £6.17       *
  103.     * RTC Software on 3.5 Disk  No. 1621    @ £7.74       *
  104.     *                                                     *
  105.     * Elektor Electronics (Publishing)                    *
  106.     * Down House, Broomhill Road, London SW18 4JQ         *
  107.     *                                                     *
  108.     * VIEWCOM ELECTRONICS                                 *
  109.     * 77 Upperton Road, West Plaistow, London E13 9LT.    *
  110.     *******************************************************
  111.